package com.itcam.cm.manager.mapper;

import com.itcam.cm.model.dto.product.ProductDto;
import com.itcam.cm.model.entity.product.Product;

import java.util.List;

public interface ProductMapper {
    List<Product> selectByPage(ProductDto productDto);

    void insertProduct(Product product);

    Product selectById(Long id);

    void updateStatus(Long id, Integer status);

    void updateAuditStatus(Long id, Integer status,String message);
}
